<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>organization</title>
</head>
<body>
	<a href="javascript:void(0)" class="easyui-linkbutton" onclick="addDepartment()"
			data-options="iconCls:'icon-add',plain:false">增加部门</a>
	<br/><br/>
	<ul id="organization"></ul>
	<!-- 子节点菜单 -->
	<div id="mm1" class="easyui-menu" style="width:120px;">
		<div onclick="updatePosition()" data-options="iconCls:'icon-edit'">修改职位</div>
	</div>
	<!-- 父节点菜单 -->
	<div id="mm2" class="easyui-menu" style="width:120px;">
		<div onclick="addPosition()" data-options="iconCls:'icon-add'">增加职位</div>
		<div onclick="updateDepartment()" data-options="iconCls:'icon-edit'">修改部门</div>
	</div>
<script type="text/javascript">
	var basePath = '<%=basePath%>';
</script>
<script type="text/javascript" src="<%=basePath%>resources/scripts/employee/organization.js"></script>
</body>
</html>